.class Lcom/brixd/niceapp/community/CommunityAppRankingFragment$AppRankingAdapter$1;
.super Ljava/lang/Object;
.source "CommunityAppRankingFragment.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/community/CommunityAppRankingFragment$AppRankingAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/brixd/niceapp/community/CommunityAppRankingFragment$AppRankingAdapter;

.field final synthetic val$rankingAppModel:Lcom/brixd/niceapp/community/model/RankingAppModel;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/CommunityAppRankingFragment$AppRankingAdapter;Lcom/brixd/niceapp/community/model/RankingAppModel;)V
    .registers 3
    .param p1, "this$1"    # Lcom/brixd/niceapp/community/CommunityAppRankingFragment$AppRankingAdapter;

    .prologue
    .line 282
    iput-object p1, p0, Lcom/brixd/niceapp/community/CommunityAppRankingFragment$AppRankingAdapter$1;->this$1:Lcom/brixd/niceapp/community/CommunityAppRankingFragment$AppRankingAdapter;

    iput-object p2, p0, Lcom/brixd/niceapp/community/CommunityAppRankingFragment$AppRankingAdapter$1;->val$rankingAppModel:Lcom/brixd/niceapp/community/model/RankingAppModel;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 5
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 285
    new-instance v0, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;

    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityAppRankingFragment$AppRankingAdapter$1;->this$1:Lcom/brixd/niceapp/community/CommunityAppRankingFragment$AppRankingAdapter;

    iget-object v1, v1, Lcom/brixd/niceapp/community/CommunityAppRankingFragment$AppRankingAdapter;->this$0:Lcom/brixd/niceapp/community/CommunityAppRankingFragment;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/CommunityAppRankingFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;-><init>(Landroid/content/Context;)V

    .line 286
    .local v0, "util":Lcom/brixd/niceapp/util/DetailRequestCacheUtil;
    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityAppRankingFragment$AppRankingAdapter$1;->val$rankingAppModel:Lcom/brixd/niceapp/community/model/RankingAppModel;

    iget v1, v1, Lcom/brixd/niceapp/community/model/RankingAppModel;->type:I

    const/4 v2, 0x1

    if-ne v1, v2, :cond_1c

    .line 287
    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityAppRankingFragment$AppRankingAdapter$1;->val$rankingAppModel:Lcom/brixd/niceapp/community/model/RankingAppModel;

    iget v1, v1, Lcom/brixd/niceapp/community/model/RankingAppModel;->appId:I

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;->gotoNiceDailyDetail(I)V

    .line 291
    :goto_1b
    return-void

    .line 289
    :cond_1c
    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityAppRankingFragment$AppRankingAdapter$1;->val$rankingAppModel:Lcom/brixd/niceapp/community/model/RankingAppModel;

    iget v1, v1, Lcom/brixd/niceapp/community/model/RankingAppModel;->appId:I

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;->gotoCommunityDetail(I)V

    goto :goto_1b
.end method
